<!-- File: /app/View/Sections/add.ctp -->

<h1>Preinscripción Acádemica</h1>

<h3><?php echo $this->Section->mensaje($processOpen); ?></h3>

<?php
	
	echo $this->Form->create('Section', array('action'=> 'add'));

	
?>
<table>
	<tr>
		<td width ='50%' colspan='1'>
			<?php echo $this->Form->input('Course', array('label' => 'Nombre')); ?>
		</td>
		<td width = '50%' colspan='2'>
			<?php echo $this->Form->input('coordinator', array('label' => 'Coordinador'));?>
		</td>
	</tr>
	<tr>		
		<td width='33%'><?php echo $this->Form->input('room', array('label' => 'Requiere sala'));?></td>
		<td width='33%'><?php echo $this->Form->input('exam', array('label' => 'Requiere examen')); ?></td>
		<td width='34%'><?php echo $this->Form->input('teacher_evaluation', array('label' => 'Requiere evaluación docente'));?></td>
	</tr>
	<tr>
		<td colspan='3'><?php echo $this->Form->input('vacancy', array('label' => 'Cupos'));?></td>
		<td></td>
	</tr>
	<tr>
		<td colspan='4'>
			<?php echo $this->Form->input('observation', array('label' => 'Observaciones')); ?>
		</td>
	</tr>

	<tr>
		<td width='10%'><?php echo $this->Html->Link('Volver', array('action' => 'index', $processId)); ?></td>
		<td width = '80%' colspan='2'>
			<?php echo $this->Form->hidden('preinscription_process_id', array('value' => $processId)); ?>
			<?php echo $this->Form->end('Crear Sección'); ?>
		</td>

	</tr>
<table>